package by.plisitsa.railway.datamodel;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Discount extends AbstractEntity {
	@Column
	private Short discount;
	
	@Column
	private String nameDiscount;

	public Short getDiscount() {
		return discount;
	}

	public void setDiscount(Short discount) {
		this.discount = discount;
	}

	public String getNameDiscount() {
		return nameDiscount;
	}

	public void setNameDiscount(String nameDiscount) {
		this.nameDiscount = nameDiscount;
	}

	

}